package com.finalist.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.finalist.Page;
import com.finalist.Pageable;
import com.finalist.dao.StoreDao;
import com.finalist.entity.Area;
import com.finalist.entity.Brand;
import com.finalist.entity.ProductCategory;
import com.finalist.entity.Store;
import com.finalist.entity.Product.OrderType;
import com.finalist.service.StoreService;

@Service("storeServiceImpl")
public class StoreserviceImpl  extends BaseServiceImpl<Store, Long> implements StoreService {

	@Resource(name = "storeDaoImpl")
	private StoreDao storeDao;
	
	@Resource(name = "storeDaoImpl")
	public void setBaseDao(StoreDao storeDao) {
		super.setBaseDao(storeDao);
	}

	@Override
	public Page<Store> findPage(Store store, Area area,
			OrderType orderType, Pageable pageable) {
		// TODO Auto-generated method stub
		return storeDao.findPage(store, area, orderType, pageable);
	}

}
